﻿using IXION.BLOG.DOMAIN.BLOG;
using IXION.BLOG.SERVICE.COMMON;
using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace IXION.BLOG.WEB.UI.UserControl
{
    public partial class CountdownPanel : System.Web.UI.UserControl
    {
        IList<Countdown> countdowns;
        protected CommonService service = new CommonService();
        protected void Page_Load(object sender, EventArgs e)
        {
            countdowns = service.LoadCountdowns(1);

            CountdownRepeater.DataSource = countdowns;
            CountdownRepeater.DataBind();
        }
    }
}